from selenium import webdriver
from selenium.webdriver.common.by import By
from time import sleep

driver = webdriver.Firefox()
url = 'https://uc.tmooc.cn/login/jumpTologin'
driver.get(url)

username = driver.find_element(By.ID, 'js_account_pm')
username.send_keys('18812345678')
password = driver.find_element(By.ID, 'js_password')
password.send_keys('123456')
btn = driver.find_element(By.ID, 'js_submit_login')
sleep(3)
btn.click()

sleep(3)
driver.quit()